﻿using ConsoleApp1;
using Microsoft.Extensions.DependencyInjection;
using PoemGame.Domain.PlayerAggregate;

var playerRepository = Utility.GetService().GetService<IPlayerRepository>();

var players = await playerRepository.GetAllAsync();

foreach (var player in players)
{
    Console.WriteLine(player.UserName);
}


